=begin

author : Simon Symeonidis

This is a simple script that will convert the stopwords file
to the java code needed

=end

fh  = File.open("stopwords.dat.txt")
str = fh.readlines
i = 0 # counter
j = 7 # num of stopwords per line

str.each_index { |x|
  print '"', str[x].gsub("\n", ""), '",'
  i = i + 1
  if i == j
    puts "\n" 
    i=0  
  end
}
